package cn.mymall.entity.mall;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * <p>
 *
 * </p>
 *
 * @author liqilun
 * @since 2021-07-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mall_shipping_template")
public class ShippingTemplate extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private BigDecimal price;

    private BigDecimal exceedPrice;

    private BigDecimal exceedAfterPrice;

    private String name;
    //支持总价满多少免费
    private String supportExceedFree;

    private Timestamp addTime;


}
